import request from '@/utils/request'

// 赛事列列表
export function competitionApplyLists(params?: Record<string, any>) {
    return request.get({ url: '/competition.apply/lists', params })
}

/** @desc 下载用户导入模板 */
export function downloadApplyImportTemplate() {
    return request.download({ url: '/competition.apply/import/template'})
}

/** @desc 解析用户导入数据 */
export function parseImportApply(data: any) {
    return request.post({ url: '/competition.apply/import/parse', data})
}

/** @desc 导入用户 */
export function importApply(data: any) {
    return request.post({ url: '/competition.apply/import', data})
}
